package jt.example.notificationmanager;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * Created by TaoJn on 4/7/2016.
 */
public class NotifyActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        this.setContentView(R.layout.notification_content);

        Intent intent = getIntent();
        String state = intent.getStringExtra(MainActivity.INTENT_STATE);

        TextView textView = (TextView) this.findViewById(R.id.stateLable);
        textView.setText(state);
    }
}
